package com.willcode.demo.mvc.model.entity;

/**
 * 性别枚举
 * @author Will
 */
public enum SexEnum {
    FEMALE("0", "女"),
    MALE("1", "男");

    private String code;
    private String msg;

    SexEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
